package com.ayq.activiti.manager.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author anyongqiang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "审批记录结果视图实体",description = "审批记录结果视图实体")
public class ApprovalecordVO implements Serializable {

    private static final long serialVersionUID = 5810585045756820798L;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("审批人姓名")
    private String approvalUserName;

    @ApiModelProperty("所属公司名称")
    private String organizationName;

    @ApiModelProperty("审批时长")
    private Long duration;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("签名路径")
    private String imgPath;

    @ApiModelProperty("审批意见")
    private String opinion;

    @ApiModelProperty("审批状态 0 驳回 1同意 2待审批")
    private Integer status;
}
